package threaddemo;

public class MyRunnable implements Runnable{
    /**
     * Runs this operation.
     */
    @Override
    public void run() {
        while (true){
            System.out.println("hello,my myRunnable");
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    }
}
